<template>
  <div>
    {{currentPage}} / {{pageCount}}
    <pdf
      width="1111"
      src="/file/download/222.pdf"
      @num-pages="pageCount = $event"
      @page-loaded="currentPage = $event"
    ></pdf>
  </div>
</template>

<script>



  export default {
    components: {
    },
    data() {
      return {
        currentPage: 0,
        pageCount: 0,
      }
    },
    mounted() {
       this.$showPDF("/file/download/222.pdf");
    }
  }

</script>
